package com.financing.wap.vo;


import java.util.Comparator;

/**
 * 发财指数活动提交答案VO
 * @author Mars
 *
 */
public class ActiviesMoneyAnswerVo extends BaseVO implements Comparator<ActiviesMoneyAnswerVo> {

	/**
	 * 
	 */
	private static final long serialVersionUID = 3619870194636501679L;

	/**
	 * 题目
	 */
	private Integer q;
	
	/**
	 * 答案
	 */
	private Integer a;
	
	

	public Integer getQ() {
		return q;
	}



	public void setQ(Integer q) {
		this.q = q;
	}



	public Integer getA() {
		return a;
	}



	public void setA(Integer a) {
		this.a = a;
	}



	@Override
	public int compare(ActiviesMoneyAnswerVo o1, ActiviesMoneyAnswerVo o2) {
		return o1.q.compareTo(o2.q);
	}
	
	
}
